﻿<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:v="clr-namespace:ShredTheLog.Views;assembly=ShredTheLog.Views"
    xmlns:vm="clr-namespace:ShredTheLog.ViewModels;assembly=ShredTheLog.ViewModels"
    xmlns:c="clr-namespace:ShredTheLog.Controls;assembly=ShredTheLog.Controls"
    >

    <DataTemplate DataType="{x:Type vm:PrivateChatRequestViewModel}">
        <DockPanel>
            <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom">
                <Button Content="{c:LocalizedString s_Accept}" Command="{Binding AcceptCommand}" IsDefault="True" MinWidth="{x:Static c:UX.ButtonWidth}"/>
                <Button Content="{c:LocalizedString s_Decline}" Command="{Binding DeclineCommand}" MinWidth="{x:Static c:UX.ButtonWidth}"/>
                <Button Content="{c:LocalizedString s_Close}" Command="{Binding CloseCommand}" IsCancel="True" MinWidth="{x:Static c:UX.ButtonWidth}"/>
            </StackPanel>
            <ContentPresenter Content="{Binding Caller}"/>
        </DockPanel>
    </DataTemplate>
</ResourceDictionary>